/**
 * hnjz.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.hnjz.common;

/**
 * 主键生成的工具类
 * 
 * @author wumi
 * @version $Id: PKUtil.java, v 0.1 Feb 12, 2014 1:07:06 PM wumi Exp $
 */
public class PKUtil {

    /**
     * 生成32位的UUID
     * 
     * @return 32位UUID字符串
     */
    public static String uuid() {
        String uuid = java.util.UUID.randomUUID().toString();
        return uuid.replaceAll("-", "");
    }

}
